package top.infopub.mgr.mkt.service.impl;

import com.github.pagehelper.Page;
import com.github.pagehelper.PageHelper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import top.infopub.generic.GenericDao;
import top.infopub.generic.GenericServiceImpl;
import top.infopub.mgr.mkt.dao.ProProgressDao;
import top.infopub.mgr.mkt.jsonvo.CollectJsonVo;
import top.infopub.mgr.mkt.service.ProProgressService;
import top.infopub.model.mkt.ProProgress;

import java.util.List;

@Service
public class ProProgressImpl extends GenericServiceImpl<ProProgress, String> implements ProProgressService {
       @Autowired
     private ProProgressDao proProgressDao;


    @Override
    public GenericDao<ProProgress, String> getDao() {
        return proProgressDao;
    }

    @Override
    public List<ProProgress> selectByProCode(String proCode) {
       return proProgressDao.selectByProCode(proCode);
    }

    @Override
    public Page<ProProgress> selectDevelop(Page<ProProgress> page, String proCode) {
        return proProgressDao.selectDevelop(proCode);
    }
}
